//
//  UILable+Extation.swift
//  微博项目001
//
//  Created by 樊武超 on 16/4/13.
//  Copyright © 2016年 樊武超. All rights reserved.
//

import UIKit

extension UILabel {

    convenience init(text: String,fontSize: CGFloat,color: UIColor,type: NSTextAlignment = .Center){
        self.init()
        self.text=text
        self.textColor=color
        self.textAlignment = type
        self.font=UIFont.systemFontOfSize(fontSize)
        self.numberOfLines=0
    
        sizeToFit()
    }




}
